package com.csii.activiti.server.core.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csii.activiti.server.core.entity.db.ActFlowConfigurationEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActFlowConfigurationMapper extends BaseMapper<ActFlowConfigurationEntity> {

    @SqlParser(filter=true)
    void batchUpdateFlowSort(List<ActFlowConfigurationEntity> dataList);

    int queryGroupMaxSort(@Param("groupId") String groupId,@Param("tenantId") String tenantId);

}
